package org.xdq.责任链模式;

/**
 * 抽象的处理者
 */
public abstract class Handler {

    protected Handler next;//下一环节的处理者

    public Handler(Handler next) {
        this.next = next;
    }

    public abstract  void handle(Request req);

}
